package com.taxi.remote;

import com.taxi.request.PushRequest;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Author: aniu
 * @Date: 2023/10/11
 * @ClassName: ServiceSsePushClient
 * @Description: Write class functionality and purpose here.
 * @Version: 1.0
 */
@FeignClient("service-sse-push")
public interface ServiceSsePushClient {
    @PostMapping("/push")
    public String push(@RequestBody PushRequest pushRequest);
}
